<!DOCTYPE html>
<html>
<head>
  <title>
    Validation Admin: <%= yield :title %>
  </title>
  <%= stylesheet_link_tag 'validation_issues' %>

  <%= csrf_meta_tag %>


  <%= yield :head %>

</head>
<body id='validation_admin_body' style='background-color:#f7f6f4;'>
  <div class="bp">
    <%= raw "<p class='flash_notice'> #{notice}</p>"  if notice %>
    <%= raw "<p class='flash_error'>#{alert}</p>"     if alert %>
  </div>
  <%= render '/validation_admin/validation_admin_header' %>

    <div id='validation_admin_wrapper' class=''>
      <div class='validation_container'>
        <%= yield :content_header %>
        <%= yield %>
      </div>
    </div>

  <div class='clearfix'></div>
  <% if content_for?(:lower_validation_admin) %>
    <div id='lower_validation_admin_wrapper' class='lower_wrapper'>
      <%= yield :lower_validation_admin %>
    </div>
  <% end %>

  <%#= render 'shared/main_footer' %>

  <%= yield :bottom %>

</body>
  <%= javascript_include_tag 'validation_issues.js' %>

  <script>
    jQuery(window).ready(
      function() {
        jQuery('.flash_notice').delay(6000).slideUp( 'slow');
        jQuery('.flash_error').delay(6000).slideUp( 'slow');
      }
    );
  </script>

  <%= yield :below_body %>
</html>